package com.weasel.weixin.commons.session.factory;

import com.weasel.weixin.commons.session.SimpleWeixinSession;
import com.weasel.weixin.commons.session.WeixinSession;

/**
 * Created by Dylan on 2015/12/8.
 */
public class SimpleSessionFactory implements SessionFactory {

    @Override
    public WeixinSession create(String sessionid) {
        SimpleWeixinSession session = new SimpleWeixinSession();
        session.setId(sessionid);
        return session;
    }

}
